<?php
interface ITransaction {
	/**
	 * verify if a transaction is active.
	 * @param $transaction  transaction instance.
	 * @return unknown_type
	 */
	public function isActive();
	/**
	 * Commit the opened transaction $transaction.
	 * @return unknown_type
	 */
	public function commit();
	/**
	 * Rollback the current transaction.
	 * @return unknown_type
	 */
	public function rollback();
}
?>